import request from '@/utils/request'

export const listNamespaceReq = () => {
    return request.post('/namespace/list', {order: 'desc'})
}

export const doAddReq = (param) => {
    return request.post('/namespace/add', param)
}

export const deleteReq = (param) => {
    return request.post('/namespace/delete', param)
}